home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: SaveChangedDocs.bed 1.0 (03.01.96)
- **
- ** Save all currently loaded documents which have been changed, but not saved,
- ** and optionally close all opened documents.
- **
- ** Modified by Marco Negri
- */
-
- OPTIONS RESULTS
- PARSE ARG quit
-
- quit = UPPER(quit)
-
- ADDRESS BED
-
- GetDocuments
- docs = RESULT
-
- DO WHILE docs ~= ''
- PARSE VAR docs '"'.'" ' port docs
- ADDRESS VALUE port
- SaveFile MODIFIED
- IF quit = "QUIT" THEN CloseDoc
- END
-